package com.kaoshi.myweb.webstruts.controller;


import static java.lang.System.out;

import java.util.List;


import com.kaoshi.myweb.webstruts.service.HsunService;
import com.opensymphony.xwork2.ActionSupport;


public class HsunAction extends ActionSupport {
	@Override
	public String execute() throws Exception {
		this.setRlist(hsunService.getList());
		return SUCCESS;
	}
	
	private HsunService hsunService;
	private List<String> rlist;
	public HsunService getHsunService() {
		return hsunService;
	}
	public void setHsunService(HsunService hsunService) {
		this.hsunService = hsunService;
	}
	public List<String> getRlist() {
		return rlist;
	}
	public void setRlist(List<String> rlist) {
		this.rlist = rlist;
	}
}